 <include file="./head" />
<include file="./logo" />
<div class="page-viewport">
<div class="page-content">   
<div class="doc_info" id="newsViewDiv" style="display: block;margin-top:1em;">
    <h3>会员收益排行榜</h3>
    <table class="table table-striped">
        <thead>
            <tr>
                <th width="30%" style="">名次</th>
                <th width="40%" style="">用户</th>
                <th width="30%" style="">收益</th>
            </tr>
        </thead>

        <tbody id="h24data">
         <?php foreach($user as $key=>$v):?>

         <tr>
         <td >第<?php echo $key+1;?>名</td>
         <td><?php if(empty($v['nickname'])){ echo substr_replace($v['user_tel'],'****',3,4);}else{ echo $v['nickname']; };?></td>
         <td><?php echo ceil($v['zonger']);?></td>
         </tr>
     <?php endforeach; ?>

        </tbody>
    </table>
    
 <div id="page"></div>
</div>
</div>
</div>
</div>
<div class="bottom_line"></div>
 <include file="./foot" />
</body>
</html>